# -*- codeing = utf-8 -*-
# @Time: 2021/12/28 20:40
# @Author: Foxhuty
# @File: main_senior_one.py
# @Software: PyCharm
# @Based on python 3.9

from data_source.score_for_senior_one import SeniorOneExam

# 输入要处理的文件路径及文件名
filepath = r'D:\年级管理数据\高2021级\高二下\高一\成都第11中学高一\总成绩报表\成都第11中学高一总成绩表.xlsx'
# 输入已知各科有效分
SeniorOneExam.good_scores = [80, 48, 54, 55, 50, 58, 20, 29, 26, 420]  # 中线
# SeniorOneExam.good_scores = [89, 76, 86, 65, 59, 69, 34, 46, 41, 565]  # 高线
# 实例化对象
exam = SeniorOneExam(filepath)
if __name__ == '__main__':
    @exam.make_directory
    @exam.title_lines
    @exam.use_time
    def main():
        exam.show_menu()


    # 执行计算：
    main()
